package cn.jeasy.sample;

import java.util.Properties;

import javax.sql.DataSource;

//import cn.jeasy.core.bean.annotation.Bean;
//import cn.jeasy.core.bean.annotation.Configuration;
//import cn.jeasy.core.jdbc.DataSourceBuilder;

//@Configuration 
public class EnvConfig {
	    //@Bean("dataSource")	   
	    public DataSource getDataSource(){
	        /*Properties props = new Properties();
	        props.put("driverClassName", env.getProperty("jdbc.driverClassName"));
	        props.put("url", env.getProperty("jdbc.url"));
	        props.put("username", env.getProperty("jdbc.username"));
	        props.put("password", env.getProperty("jdbc.password"));
	        return DruidDataSourceFactory.createDataSource(props);*/
	       //return	DataSourceBuilder.create().build();
	    	return null;
	    }
}
